<%@ page language="java" contentType="text/html; charset=iso-8859-1"
    pageEncoding="ISO-8859-1"%>

<%@ taglib uri="/struts-tags" prefix="st" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>
<st:property value="%{getText('login.title')}"/>
</title>
<style type="text/css">
	@import "css/estilo.css";
body {
	background-color: #357EC2;
	background-image: url(images/bgblack.jpg);
}
body,td,th {
	font-weight: bold;
}
</style>
</head>
<body>
<script>
function aUpperCase(field) {
        field.value = field.value.toUpperCase();
};
</script>
	<div class="uicenter">
		<st:form action="loginUsuario" >
		    <br/>
		    <div align="center"><img src="images/sesion.gif" width="165" height="133" align="middle"></div>
			<br/>
			<div align="center">
				<st:textfield name="cuenta" label="%{getText('login.cuenta')}" required="true" onchange="aUpperCase(this)"></st:textfield>
				<st:password name="clave" label="%{getText('login.clave')}" required="true"></st:password>
				<st:submit align="center" value="%{getText('login.ingresar')}" />
			</div>
		</st:form>
		<span class="errorMensage"><st:property value="mensaje"/></span>
	</div>
    <div align="center"></div>
</body>
</html>